package com.pkx.guide.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.pkx.guide.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 *
 * 诱导屏信息表
 * @author sunsy
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_info_guide")
@Schema(name="TInfoGuide对象", description="诱导屏信息表")
public class TInfoGuide extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "诱导屏设备品牌")
    @TableField("guid_grand")
    private String guidGrand;

    @Schema(description = "设备名称")
    @TableField("guid_name")
    private String guidName;

    @Schema(description = "诱导屏设备编号")
    @TableField("guid_no")
    private String guidNo;

    @Schema(description = "设备id")
    @TableField("device_id")
    private String deviceId;

    @Schema(description = "IP地址")
    @TableField("guid_ip")
    private String guidIp;

    @Schema(description = "端口")
    @TableField("guid_port")
    private String guidPort;

    @Schema(description = "诱导屏类型 0-三思 1-乾丰")
    @TableField("guide_type")
    private Integer guideType;

    @Schema(description = "起始位置")
    @TableField("slave_id")
    private Integer slaveId;

    @Schema(description = "子网掩码")
    @TableField("netmask")
    private String netmask;

    @Schema(description = "网关")
    @TableField("gateway")
    private String gateway;

    @Schema(description = "诱导屏地址")
    @TableField("guid_address")
    private String guidAddress;

    @Schema(description = "安装方式 0:利用合杆 1:立杆安装")
    @TableField("install_mode")
    private Integer installMode;

    @Schema(description = "归属路口名称")
    @TableField("crossing_name")
    private String crossingName;

    @Schema(description = "车道号 1-一车道 2-二车道 3-三车道")
    @TableField("lane_no")
    private Integer laneNo;

    @Schema(description = "方向 0:上行 1:下行")
    @TableField("direction")
    private Integer direction;

    @Schema(description = "高度")
    @TableField("guid_high")
    private String guidHigh;

    @Schema(description = "宽度")
    @TableField("guid_width")
    private String guidWidth;

    @Schema(description = "经度")
    @TableField("guid_lon")
    private String guidLon;

    @Schema(description = "纬度")
    @TableField("guid_lat")
    private String guidLat;

    @Schema(description = "角度")
    @TableField("rotation")
    private String rotation;

    @Schema(description = "使用状态（0正常 1停用）")
    @TableField("status")
    private String status;

    @Schema(description = "调节模式：0 自动 1手动")
    @TableField("light_mode")
    private Integer lightMode;

    @Schema(description = "亮度值百分比：0 - 100")
    @TableField("light_val")
    private Integer lightVal;

    @Schema(description = "逻辑字段：播放表")
    @TableField(exist = false)
    private TInfoGuidePlayList guidePlayList;

    @Schema(description = "逻辑字段：情报板状态信息")
    @TableField(exist = false)
    private TInfoGuideStatus guideStatus;

    @Schema(description = "逻辑字段：情报板状态")
    @TableField(exist = false)
    private String offlineStatus;
}
